Task 2396: Migrate Large Static Images to S3 Bucket#2415
Conversation
There was a problem hiding this comment.
Looking good so far! However, the learn page is still referencing old image paths. While #2414 doesn't get merged, I simply removed the wrong references to _post_cards_v3.html in the learn_page.html template to render it partially, and the images are indeed broken there. I don't think altering them in this same PR should have any major conflicts with your other branch.
There was a problem hiding this comment.
Hi @jlchilders11 , thanks for tackling this task!
1/ Question: I've noticed that we're loading small images (e.g. the Badge icons) to S3 now too. My understanding previously was that we only want to use S3 for large images (> 1 MB). Just to confirm, will this be our new strategy going forward?
2/ Suggestion: I think there are a few unused images that we can delete from S3:
- the
login-pagefolder (we already haveauth-pagefolder) demo_page/Badge.svghome-page/home-page-placeholder.png- Both images under
/learnare currently not used, I think the Learn page is using the all the images under/examples? Maybe we should consider replacing/learnwith/examplesif possible 🤔
3/ Nit suggestion: While we're cleaning up the images.. if we can rename the capitalized images (e.g Cheetah_Mobile.png) to lowercase that would be really nice
|
herzog0
left a comment
There was a problem hiding this comment.
I just have this one ask, aside from Cristian's one above
julhoang
left a comment
There was a problem hiding this comment.
Thanks for all the updates @jlchilders11 🧹 ✨!
Issue: #2396
Summary & Context
Moves all V3 images to s3 bucket, and converts existing static calls to use large_static, which pulls from either the bucket or local synced content.
Dev Notes & QA
For testing purposes, devs should remember to run
just down_sycn_imagesto actually sync the s3 buckets to local.For Testing purposes, the following pages are affected by this change:
Please list any potential risks or areas that need extra attention during review/testing
Self-review Checklist